Q3Mesh_GetComponentBoundingBox
You can use theQ3Mesh_GetComponentBoundingBox
function to determine the bounding box of a component of a mesh.
TQ3Status Q3Mesh_GetComponentBoundingBox ( TQ3GeometryObject mesh, TQ3MeshComponent component, TQ3BoundingBox *boundingBox);
mesh
- A mesh.
component
- A mesh component.
boundingBox
- On exit, the bounding box of the specified mesh component.
DESCRIPTION
TheQ3Mesh_GetComponentBoundingBox
function returns, in theboundingBox
parameter, the bounding box of the mesh component specified by themesh
andcomponent
parameters.SPECIAL CONSIDERATIONS
TheQ3Mesh_GetComponentBoundingBox
function might not accurately report the bounding box of a mesh component if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).